<div id="left-nav" appScrollHold>
    <ul class="api-type-selector" *ngIf="hasDubbo && hasRest">
        <li *ngIf="hasRest" (click)="setMenuApiType(0)" [class.active]="menuApiType==0">RESTful</li>
        <li *ngIf="hasDubbo" (click)="setMenuApiType(1)" [class.active]="menuApiType==1">DUBBO</li>
    </ul>
    <ul *ngIf="menuList">
        <app-left-nav-api-item *ngIf="menuType!=='index'" [menuList]="menuList"></app-left-nav-api-item>
        <app-left-nav-doc-item *ngIf="menuType==='index'" [menuList]="menuList"></app-left-nav-doc-item>
    </ul>
    <ul *ngIf="!menuList">
        <li class="loading">正在加载，请稍候...</li>
    </ul>
</div>
